package com.woniu;

import com.woniu.common.exception.GlobalExceptionHandler;
import com.woniu.feign.CinemaFeignClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@EnableFeignClients
@MapperScan(basePackages = {"com.woniu.mapper"})
@Import({GlobalExceptionHandler.class})
public class OrderApp
{
    public static void main( String[] args )
    {
        SpringApplication.run(OrderApp.class,args);
    }
}
